#include "setup.h"

#include <stdio.h>
#include <conio.h>

/** @defgroup main Main
 * @{
 *
 *
 */

 /**
 *	Function to call when an exit command is executed
 */ 
void tear_down()
{
	finalize();
}

/**
* Main Function
*/
int main()
{
	atexit(tear_down);
	init();
	clear_screen(0,base);
	main_loop();
	finalize();
	
	return 0;
}


/** @} end of main */ 
